<html>
<head>
<title>Rounding Numbers</title>
<link rel="stylesheet" type="text/css" href="style.css" />  
</head>
<body>
<h2>Rounding Numbers</h2><br />
<script language="JavaScript" type="text/javascript">
<!--
     var num=16.3;
     document.write("The number being manipulated is: " + num + "<br />");
     document.write("The Math.floor method rounds down: " + Math.floor(num) + "<br />");
     document.write("The Math.ceil method rounds up: " + Math.ceil(num) + "<br />");     
     document.write("The Math.round method rounds to the nearest integer: " + Math.round(num) + "<br />");

//-->
</script>

</body>
</html>
